﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChainOfResponsibilityPattern;

internal class CEO : AbstractAuditer
{
    public override void Audit(ApplyContext context)
    {
        /* if (context.Hours <= 64)
         {
             context.AuditResult = true;
             context.AuditRemark = "Enjoy you vocation";
             Console.WriteLine($"{this.GetType().Name} {Name} 审批通过了{context.Name} {context.Hours}小时的请假");
         }
         else
         {
             InvokNext(context);
         }*/
        AuditAndInvokNext(context);
    }
}
